﻿;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; LOOP EVENTS
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; USAGE:
;
; Basic structure for a loop event:
; { 
; #NAME= Event name (this will be shown as a selectable event under an OPTIONS screen within the game)
; #POPUP= Event popup text (this will be displayed when the event occurs)
; #IMAGE= Event image that will be displayed when event occurs
;         PNG images must be 736x418 or 368x418 pixels, see 'Extras' folder for sample images and frames
;         Multiple pictures can be used by using a ',' to separate them
;         Format: picture1.png, picture2.png, picture3.png, picture4.png
; #SOUND= Event sound that will be displayed when event occurs
;         Multiple sounds can be used by using a ',' to separate them
;         Format: sound1.mp3, sound2.mp3, sound3.mp3, sound4.mp3
; #FLAG= Will this be a default event for the campaign? (values range [0, 1]; True= 1; False= 0)
; #TYPE= Values range [0, 2];
;        With all other fields satisfied will this be:
;        0 = Single check regardless if #TRIGGER is satisfied
;        1 = Multiple check until #TRIGGER is satisfied
;        2 = Reoccuring check until end of game
; #AI= Values range [0, 4]
;      0 = Event fires whenever all fields are satisfied for any game type
;      1 = Event fires whenever all fields are satisfied, for AI games only, and only on the Axis AI turn
;      2 = Event fires whenever all fields are satisfied, for AI games only, and only on the Allied AI turn
;      3 = Event fires whenever all fields are satisfied, for AI and Multiplayer games only, and only on the Axis AI or on the Allied Multiplayer turns
;      4 = Event fires whenever all fields are satisfied, for AI and Multiplayer games only, and only on the Allied AI or on the Axis Multiplayer turns
; #LEVEL= What minimum skill level, as selected from the AI difficulty level screen in game, with this event apply to?
;         Values: [0, 4]; Green= 0; Novice= 1; Intermediate= 2; Veteran= 3; Expert= 4
; #GV= Does the event activate based on the Global Variable values assigned?
;      Ten random Global Variables are assigned at the start of the campaign each with a value between [1,100]
;      Format: GV [min, max]; GV range [1,10]; min range [1,100]; max range [1,100]
;      Example A) #GV= 1[1,100] will always trigger because Global Variable #1 will always have a value between [1,100]
;      Example B) #GV= 4[71,100] will trigger 30% per game
; #LINK= Does the event activate based on the Link values assigned?
;        A campaign can have up to 1100 Decision events and is referenced by other events via this parameter
;        Format: decision[flag]; flag range [0, 1]; True= 1; False= 0
;        Example A) #LINK= 0[0] will always trigger as formal DECISION events can only be from 1-1100
;        Example B) #LINK= 1[0] will trigger whenever #DECISION= 1 is not accepted
;        Example C) #LINK= 3[1] will trigger whenever #DECISION= 3 is accepted
; #TRIGGER= Trigger percentage that the event will occur (values range [0, 100])
; #COUNTRY_ID= Country ID that will be owner of this naval loop event (value of 0 will allow any country to use loop positions)
; #ALIGNMENT_ID= Which game turn should this loop event run? (values range [0, 2]; Any= 0; Axis= 1; Allies= 2)
; #DELAY= The number of turns to delay completion of the naval loop
; #FAILED_DELAY= The number of turns that have to pass before the naval loop is considered to have failed
; #FRIENDLY_POSITION= Position that must be under friendly control in order for event to occur but can be left blank (Format: x,y)
; #START_POSITION= Start position for the naval loop (Format: x,y)
; #FINISH_POSITION= Finish position for the naval loop (Format: x,y)
; }
;
; NOTES:
;
; Each event must be preceded by a '{' and end with a '}'
; 
; A naval loop event could possibly fail if all #FINISH_POSITION's as well as all adjacent map positions
; are occupied by enemy naval units. In this case once the number of turns exceeds the #FAILED_DELAY
; value the units will be returned to the #START_POSITION locations.
;
; More than one #START_POSITION as well as #FINISH_POSITION can be set.
;
; Use the reference values provided for #COUNTRY_ID and not the country names 
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; COUNTRY ID REFERENCE VALUES
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; #ANY= 0
;
; Country IDs
; #SEA= Sea
; #NEUTRAL= Neutral
; #COUNTRY_ID_3= Albania
; #COUNTRY_ID_4= Algeria
; #COUNTRY_ID_8= Baltic States
; #COUNTRY_ID_10= Belgium
; #COUNTRY_ID_19= Bulgaria
; #COUNTRY_ID_21= Canada
; #COUNTRY_ID_31= Denmark
; #COUNTRY_ID_36= Egypt
; #COUNTRY_ID_39= Finland
; #COUNTRY_ID_40= France
; #COUNTRY_ID_45= Germany
; #COUNTRY_ID_46= Greece
; #COUNTRY_ID_52= Hungary
; #COUNTRY_ID_56= Iraq
; #COUNTRY_ID_57= Ireland
; #COUNTRY_ID_59= Italy
; #COUNTRY_ID_63= Libya
; #COUNTRY_ID_65= Luxembourg
; #COUNTRY_ID_70= Morocco
; #COUNTRY_ID_73= Netherlands
; #COUNTRY_ID_78= Norway
; #COUNTRY_ID_79= Palestine
; #COUNTRY_ID_82= Persia
; #COUNTRY_ID_85= Poland
; #COUNTRY_ID_87= Portugal
; #COUNTRY_ID_93= Romania
; #COUNTRY_ID_95= Saudi Arabia
; #COUNTRY_ID_99= Spain
; #COUNTRY_ID_103= Sweden
; #COUNTRY_ID_105= Syria
; #COUNTRY_ID_109= Trans-Jordan
; #COUNTRY_ID_110= Tunisia
; #COUNTRY_ID_111= Turkey
; #COUNTRY_ID_112= Britain
; #COUNTRY_ID_115= United States
; #COUNTRY_ID_116= Russia
; #COUNTRY_ID_118= Vichy France
; #COUNTRY_ID_120= Yugoslavia
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


; Britain South Atlantic to Red Sea naval loop:
{
#NAME= South Atlantic To Red Sea (Britain)
#POPUP= Naval Unit(s) Continue Around Cape Of Good Hope
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 112
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Ottawa, Suez)
#FRIENDLY_POSITION= 7,29
#FRIENDLY_POSITION= 151,54
#START_POSITION= 79,52
#START_POSITION= 80,52
#START_POSITION= 81,52
#FINISH_POSITION= 154,59
#FINISH_POSITION= 155,58
#FINISH_POSITION= 156,59
}

; United States South Atlantic to Red Sea naval loop:
{
#NAME= South Atlantic To Red Sea (United States)
#POPUP= Naval Unit(s) Continue Around Cape Of Good Hope
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Washington DC, Suez)
#FRIENDLY_POSITION= 6,40
#FRIENDLY_POSITION= 151,54
#START_POSITION= 79,52
#START_POSITION= 80,52
#START_POSITION= 81,52
#FINISH_POSITION= 154,59
#FINISH_POSITION= 155,58
#FINISH_POSITION= 156,59
}

; Britain Red Sea to South Atlantic naval loop:
{
#NAME= Red Sea To South Atlantic (Britain)
#POPUP= Naval Unit(s) Proceed To South Atlantic
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 112
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Ottawa)
#FRIENDLY_POSITION= 7,29
#START_POSITION= 154,59
#START_POSITION= 155,58
#START_POSITION= 156,59
#FINISH_POSITION= 79,52
#FINISH_POSITION= 80,52
#FINISH_POSITION= 81,52
}

; United States Red Sea to South Atlantic naval loop:
{
#NAME= Red Sea To South Atlantic (United States)
#POPUP= Naval Unit(s) Proceed To South Atlantic
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Washington, DC)
#FRIENDLY_POSITION= 6,40
#START_POSITION= 154,59
#START_POSITION= 155,58
#START_POSITION= 156,59
#FINISH_POSITION= 79,52
#FINISH_POSITION= 80,52
#FINISH_POSITION= 81,52
}

; Britain South Atlantic to Persian Gulf naval loop:
{
#NAME= South Atlantic To Persian Gulf (Britain)
#POPUP= Naval Unit(s) Continue Around Cape Of Good Hope
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 112
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Ottawa, Al Kuwait)
#FRIENDLY_POSITION= 7,29
#FRIENDLY_POSITION= 171,55
#START_POSITION= 73,52
#START_POSITION= 74,52
#START_POSITION= 75,52
#FINISH_POSITION= 176,59
#FINISH_POSITION= 177,58
#FINISH_POSITION= 178,59
}

; United States South Atlantic to Persian Gulf naval loop:
{
#NAME= South Atlantic To Persian Gulf (United States)
#POPUP= Naval Unit(s) Continue Around Cape Of Good Hope
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Washington DC, Al Kuwait)
#FRIENDLY_POSITION= 6,40
#FRIENDLY_POSITION= 171,55
#START_POSITION= 73,52
#START_POSITION= 74,52
#START_POSITION= 75,52
#FINISH_POSITION= 176,59
#FINISH_POSITION= 177,58
#FINISH_POSITION= 178,59
}

; Britain Persian Gulf to South Atlantic naval loop:
{
#NAME= Persian Gulf To South Atlantic (Britain)
#POPUP= Naval Unit(s) Proceed To South Atlantic
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 112
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Ottawa)
#FRIENDLY_POSITION= 7,29
#START_POSITION= 176,59
#START_POSITION= 177,58
#START_POSITION= 178,59
#FINISH_POSITION= 73,52
#FINISH_POSITION= 74,52
#FINISH_POSITION= 75,52
}

; United States Persian Gulf to South Atlantic naval loop:
{
#NAME= Persian Gulf To South Atlantic (United States)
#POPUP= Naval Unit(s) Proceed To South Atlantic
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 115
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Washington, DC)
#FRIENDLY_POSITION= 6,40
#START_POSITION= 176,59
#START_POSITION= 177,58
#START_POSITION= 178,59
#FINISH_POSITION= 73,52
#FINISH_POSITION= 74,52
#FINISH_POSITION= 75,52
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; AI EVENTS
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

; Britain AI Land Loop for Replacements:
; Britain Mediterranean port cities to Rome
{
#NAME= Britain AI Land Loop (Rome)
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 2
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 50
#COUNTRY_ID= 112
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Rome, Paris)
#FRIENDLY_POSITION= 121,37
#FRIENDLY_POSITION= 109,26
#START_POSITION= 106,45
#START_POSITION= 117,45
#START_POSITION= 121,52
#START_POSITION= 148,54
#START_POSITION= 139,47
#START_POSITION= 116,42
#START_POSITION= 152,47
#FINISH_POSITION= 121,37
}

; Britain AI Land Loop for Replacements:
; Britain Ireland to Paris
{
#NAME= Britain AI Land Loop (Paris)
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 2
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= 50
#COUNTRY_ID= 112
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Rome, Paris)
#FRIENDLY_POSITION= 121,37
#FRIENDLY_POSITION= 109,26
#START_POSITION= 102,15
#FINISH_POSITION= 109,26
}

; United States North Africa port cities to Rome
{
#NAME= United States AI Land Loop (Rome)
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 2
#LEVEL= 0
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 75
#COUNTRY_ID= 115
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Rome, Paris)
#FRIENDLY_POSITION= 121,37
#FRIENDLY_POSITION= 109,26
#START_POSITION= 106,45
#START_POSITION= 117,45
#START_POSITION= 121,52
#FINISH_POSITION= 121,37
}

; United States AI Land Loop for Replacements:
; United States port cities and Belfast/Liverpool to Paris
{
#NAME= United States AI Land Loop (Paris)
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 2
#LEVEL= 0
#GV= 3[1,100]
#LINK= 0[0]
#TRIGGER= 75
#COUNTRY_ID= 115
#ALIGNMENT_ID= 2
#DELAY= 1
#FAILED_DELAY= 2
;Set Friendly Position (Rome, Paris)
#FRIENDLY_POSITION= 121,37
#FRIENDLY_POSITION= 109,26
#START_POSITION= 3,46
#START_POSITION= 7,43
#START_POSITION= 8,38
#START_POSITION= 10,37
#START_POSITION= 14,34
#START_POSITION= 16,31
#START_POSITION= 102,15
#START_POSITION= 105,17
#FINISH_POSITION= 109,26
}

; Germany AI Land Loop for Sardinia:
{
#NAME= Germany AI Land Loop - Cagliari-Genoa
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 1
#LEVEL= 0
#GV= 5[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 45
#ALIGNMENT_ID= 1
#DELAY= 0
#FAILED_DELAY= 1
;Set Friendly Position (Rome)
#FRIENDLY_POSITION= 121,37
#START_POSITION= 116,42
#FINISH_POSITION= 117,33
}

; Russia AI Naval Loop:
{
#NAME= Russia AI Naval Loop
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 2
#LEVEL= 0
#GV= 4[1,100]
#LINK= 0[0]
#TRIGGER= 100
#COUNTRY_ID= 116
#ALIGNMENT_ID= 2
#DELAY= 0
#FAILED_DELAY= 1
;Set Friendly Position (Sverdlovsk, Batum)
#FRIENDLY_POSITION= 188,10
#FRIENDLY_POSITION= 162,35
#START_POSITION= 154,1
#START_POSITION= 174,30
#START_POSITION= 175,39
#START_POSITION= 179,40
#FINISH_POSITION= 161,34
#FINISH_POSITION= 148,32
}

